package com.example.springdata.service;

import com.example.springdata.dao.UserDao;
import com.example.springdata.entity.User;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @description:
 * @version:
 * @Author: Huang
 * @date: 2025-03-25
 */
@Service
public class implUserServiceImpl implements IUserService{

    @Resource
    private UserDao userDao;

    @Override
    public User queryUserById(Integer id) {
        return userDao.selectById(id);
    }
}
